home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / GNU_KIT / DISK6.ZIP / gnu / man / cat1 / touch.1 < prev    next >
Encoding:
Text File  |  1994-01-19  |  1.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. TOUCH(1L) TOUCH(1L)
  8. NAME
  9.      touch - change file timestamps
  10. SYNOPSIS
  11.      touch [-acm] [-r reference-file] [-t MMDDhhmm[[CC]YY][.ss]]
  12.      [-d time] [+time={atime,access,use,mtime,modify}]
  13.      [+date=time] [+file=reference-file] [+no-create] file...
  14. DESCRIPTION
  15.      This manual page documents the GNU version of touch.  touch
  16.      changes the access and modification times of each given file
  17.      to the current time.  Files that do not exist are created
  18.      empty.  If the first file name given would be a valid argu-
  19.                   _                                                   ment to the -t option and no timestamp is given with any of
  20.           _   _      _                                                the -d, -r, or -t options and the -- argument is not given,
  21.      that argument is interpreted as the time for the other files
  22.      instead of as a filename.
  23.      OPTIONS
  24.       _   ____ _____   ____ ______   ____ ___      -a, +time=atime, +time=access, +time=use
  25.           Change the access time only.
  26.       _   __ ______      -c, +no-create
  27.           Do not create files that do not exist.
  28.       _   ____ ____      -d, +date time
  29.               ____                                                    Use time (which can be in various common formats)
  30.           instead of the current time.  It can contain month
  31.           names, timezones, `am' and `pm', etc.
  32.       _   ____ _____   ____ ______      -m, +time=mtime, +time=modify
  33.           Change the modification time only.
  34.       _   ____ _________ ____      -r, +file reference-file
  35.                            _________ ____                                  Use the times of reference-file instead of the current
  36.           time.
  37.       _ ________  __ __   __       -t MMDDhhmm[[CC]YY][.ss]
  38.           Use the argument (months, days, hours, minutes,
  39.           optional century and years, optional seconds) instead
  40.           of the current time.
  41. Page 1
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.